package Nisha.inheritance.packageA;

public class Child extends Parent {
	
public void printName()
{
	
	//System.out.println(privateVar); can not be accessed here
	System.out.println(defaultVar);
	System.out.println(protectedVar);
	System.out.println(publicVar);
}
}
